#!/bin/bash
cd ~
# apt
echo deb http://mirrors.163.com/debian/ bullseye main contrib non-free > /etc/apt/sources.list
echo deb http://mirrors.163.com/debian/ bullseye-updates main contrib non-free >> /etc/apt/sources.list
echo deb http://mirrors.163.com/debian/ bullseye-backports main contrib non-free >> /etc/apt/sources.list
echo deb http://mirrors.163.com/debian-security bullseye-security main contrib non-free >> /etc/apt/sources.list
apt update

# install
apt install vim zsh wget git gcc

# ohmyzsh
wget horange321.gitee.io/www/get/ohmyzsh.sh
chmod +x ohmyzsh.sh
./ohmyzsh.sh
echo setopt nonomatch >> .zshrc
git clone http://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone http://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

reboot